package com.maysham.tripod.model;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

@Document
@Data
public class Code extends BaseModel {
    private String name;
    private String description;
    private String type;
    private String url;
    @DBRef(lazy = true)
    private Group group;
}
